/**
    Copyright (c) 2010 ATTi 
    All rights reserved.
    Author: Michael Shu
    Date: 9/15/2010
    Depreciated since s142 on 6/17/2011
*/

trigger CaseOwnerChangeValidation on Case (before update) {
	/*
	if(trigger.isBefore){
		if(trigger.isUpdate){
			List<Case> caseOwnerChangedToQueue = new List<Case>();
			for(Case c : trigger.new){	
				Case oldCase = trigger.oldMap.get(c.Id);
				String tPrefix = String.Valueof(c.OwnerId).subString(0,3);
				if(c.OwnerId != oldCase.OwnerId && tPrefix == CaseOwnerChangeValidationHelper.Queue_Prefix){
					caseOwnerChangedToQueue.add(c);
				}
			}
			CaseOwnerChangeValidationHelper.validateNewOwnerChange(caseOwnerChangedToQueue);
		}
	}
	*/
}